module.exports = {
  //配置输出路径
  publicPath: './',
  //去除生产环境的SourceMap代码镜像-productionSourceMap
	productionSourceMap: false,
	//开发环境-配置代理跨域
	devServer: {
		proxy: {
			'/api': {
				target: 'https://view.inews.qq.com/g2/getOnsInfo',  
				changeOrigin: true, 
				pathRewrite: {
					'^/api': ''
				}
			}
		}
	},
}
